package com.zp.facade;/**
 * @description
 * @author zp
 * @created 2021/9/3 21:23
 */

import com.zp.entity.Blue;
import com.zp.entity.Green;
import com.zp.entity.Red;

/**
 * @author zp
 * @description
 * @created 2021/9/3 21:23
 */
public class FacadeColor {
    private Blue blue;
    private Red red;
    private Green green;
    public FacadeColor(){
        this.blue = new Blue();
        this.red = new Red();
        this.green = new Green();
    }

    public void blueFill(){
        this.blue.fill();
    }
    public void redFill(){
        this.red.fill();
    }
    public void greenFill(){
        this.green.fill();
    }
}
